package com.zhou.system.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhou.system.management.entity.SysDept;
import com.zhou.system.management.model.ao.SysDeptAddAo;
import com.zhou.system.management.model.ao.SysDeptEnableAo;
import com.zhou.system.management.model.ao.SysDeptUpdateAo;
import com.zhou.system.management.model.vo.UserRouteVo;

import java.util.List;

/**
 * <p>
 * 部门表 服务类
 * </p>
 *
 * @author zxf
 * @since 2023-05-18
 */
public interface ISysDeptService extends IService<SysDept> {

    List<SysDept> queryUserDepts(Long userId);

    void setUserCurrDept(Long deptId);

    UserRouteVo queryUserRoute();

    void add(SysDeptAddAo addVo);

    void update(SysDeptUpdateAo updateVo);

    void enableDept(SysDeptEnableAo ao);
}
